@charset "utf-8";

body{
    background: #f5f5f5;
}
.imglight{
    position: relative;
}
.imglight::after{
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index:1;
    background:rgba(255,255,255,.3);
}
.imglight:active::after{
    content:"";
}
.imgdark{
    position: relative;
}
.imgdark::after{
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index:1;
    background:rgba(100,100,100,.1);
}
.imgdark:active::after{
    content:"";
}

@media screen and (min-width:992px){
    .img-hover:hover{
        opacity: 0.8;
        cursor: pointer;
    }
    .btn-hover:hover{
        opacity: 0.8;
        background-color: #ff6600;
        color: #FFFFFF;
    }
    .lidark{
        position: relative;
        cursor: pointer;
    }
    .lidark::before{
        position: absolute;
        top: 0; right: 0; bottom: 0; left: 0;
        z-index:1;
        background:rgba(100,100,100,.05);
    }
    .lidark:hover::before{
        content: "";
    }
}

.overflow1{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.overflow2{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
@media screen and (min-width: 768px){
    .navbar-nav > li {
        float: none;
    }
}
.header{
    width: 60%;
}
.header>li{
    float: left;
    font-size: 16px;
    width: 20%;
    a{
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
}
.nav-shadow{
    box-shadow:#1e1e1e 0 1px 1px;
}
.header-c{
    margin-top: 50px;
}
@media screen and (max-width: 768px){
    .header-box{
        padding: 0;
    }
    .header{
        font-size: 0;
        margin: 0;
        width: 100%;
    }
    .navbar{
        min-height: auto;
    }
    .header>li{
        float: none;
        display: inline-block;
        width: 20%;
        font-size: 14px;
    }
    .header-c{
        margin-top: 40px;
    }
}
@media screen and (max-width:480px){
    .header>li{
        font-size: 12px;
    }
}
.header-c{
    .header-container{
        padding: 0;
        .header-pic{
            position: relative;
            img{
                max-width: 100%;
            }
        }
        .header-search{
            position: absolute;
            width: 40%;
            top: 45%;
            left: 50%;
            margin-left: -200px;
            padding: 3px;
            border-radius: 6px;
            background: rgba(0,0,0,0.4);
            .header-input{
                width: 70%;
                height: 52px;
                float: left;
                input{
                    width: 100%;
                    height: 100%;
                    font-size: 24px;
                }
            }
            #header-btn{
                float: right;
                width: 29%;
                margin-left: 1%;
                height: 52px;
                color: #666666;
                font-size: 24px;
            }
        }
        .header-title{
            position: absolute;
            left: 15%;
            top: 32%;
            color: #eeeeee;
        }
    }
}
@media screen and (max-width: 768px){
    .header-container{
        .form-inline .form-group {
            display: inline-block;
            margin-bottom: 0;
            vertical-align: middle;
        }
    }
}
@media screen and (max-width:991px){
    .header-c .header-container .header-search{
        width: 50%;
        left: 25%;
        top: 35%;
        margin-left: 0;
        .header-input{
            height: 46px;
            input{
                font-size: 20px;
            }
        }
        #header-btn{
            height: 46px;
            font-size: 20px;
        }
    }
    .header-c .header-container .header-title{
         top: 20%;
         h1{
             font-size: 30px;
         }
         h3{
             font-size: 20px;
         }
     }
}
@media screen and (max-width:768px){
    .header-c .header-container .header-search{
        
        .header-input{
            height: 40px;
            input{
                font-size: 18px;
            }
        }
        #header-btn{
            height: 40px;
            font-size: 18px;
        }
    }
    .header-c .header-container .header-title{
         top: 5%;
         h1{
             font-size: 24px;
         }
         h3{
             font-size: 16px;
         }
     }
}
@media screen and (max-width:480px){
    .header-c .header-container .header-search{
        width: 70%;
        left: 15%;
        top: 35%;
        margin-left: 0;
        .header-input{
            height: 36px;
            input{
                font-size: 14px;
            }
        }
        #header-btn{
            height: 36px;
            font-size: 14px;
        }
    }
    .header-c .header-container .header-title{
         top: 0%;
         left: 10%;
         h1{
             font-size: 18px;
             margin-top: 10px;
         }
         h3{
             font-size: 12px;
             margin-top: 5px;
         }
     }
}

.header-pic{
    overflow: hidden;
    img{
        animation:kenburns-top 10s ease-out both;
    }
} 

@keyframes kenburns-top{
    0%{
        transform:scale(1) translateY(0);
        transform-origin:50% 16%;
        }
    100%{
        transform:scale(1.25) translateY(-15px);
        transform-origin:top;
    }
}

.commonpic{
    position: relative;
    img{
        width: 100%;
        height: 100%;
    }
    span{
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        padding: 5px 16px;
        background: #59b200;
        color: #FFFFFF;
        border-radius:0 0 4px 0;
    }
}

//推荐公共部分

@media screen and (min-width:769px){
    .section-recommend{
        .content-different{
            width: 67%;
        }
        .content-recommend{
            width: 33%;
        }
    }
}
.section-recommend{
    margin-top: 30px;
    >div{
        width: 98%;
    }
    .content-recommend{
        padding: 0;
    }
    .content-recommend-box{
        border: 1px solid #f0f0f0;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px;
        background: #ffffff;
        .recommend-title{
            background: #fafafa;
            color: #666666;
            border-bottom: 1px solid #f5f5f5;
        }
        .recommend-content1{
            >div{
                width: 33.333%;
                padding:5px;
            }
        }
        .recommend-content1-item{
            background: #eeeeee;
            color: #999999;
            padding-top: 5px;
            padding-bottom: 5px;
            padding-left: 10px;
            white-space: nowrap;
        }
        .recommend-content2{
            img{
                width: 100%;
                max-width: 100%;
            }
            .recommend-content2-item{
                padding-top: 8px;
            }
            .recommend-content2-item:nth-child(odd){
                padding-right: 5px;
            }
            .recommend-content2-item:nth-child(even){
                padding-left: 5px;
            }
        }
        .recommend-content3{
            >div{
                padding:5px;
            }
        }
        .recommend-content3-item{
            img{
                display: inline-block;
            }
        }
    }
}
.content-different{
    .different-title{
        h3{
            color: #666666;
        }
    }
    .different-hr{
        border-top: 1px dashed #e5e5e5;
        border-bottom: 1px dashed #a7a7a7;
    }
}
@media screen and (min-width:1200px){
    .section-recommend .content-recommend-box .recommend-content3{
        >div{
            padding-left: 15px;
            padding-right: 15px;
        }
    }
}
@media screen and (max-width:900px){
    .section-recommend .content-recommend-box .recommend-content1-item{
        font-size: 12px;
    }
    .section-recommend .content-recommend-box .recommend-content2{
        .recommend-content2-item{
            p{
                font-size: 12px;
            }
        }
        
    }
}
.information-last-btn{
    padding: 6px 50px;
    color: #000000;
    font-size: 18px;
    border-radius: 9px;
    margin-bottom: 20px;
}
@media screen and (max-width:768px){
    .information-last-btn{
        padding: 6px 30px;
    }
    @media screen and (max-width:480px){
        .information-last-btn{
            font-size: 14px;
        }
    }
}
.footer{
    >div:first-child{
        background: #222222;
    }
    h3{
        height: 45px;
        color: #cccccc;
        border-bottom: 1px dashed #333333;
    }
    ul{
        padding-left: 0;
    }
    li{
        list-style: none;
        height: 35px;
        a{
            color: #666666;
            transition: 0.5s;
        }
    }
    li:hover a{
        color: #FFFFFF;
    }
    >div:last-child{
        background: #000000;
        color: #777777;
        p{
            margin: 10px 0;
        }
    }
}
@media screen and (min-width:992px){
    .footer{
        .footer-nav{
            padding: 0 4%;
        }
    }
}
